<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东工业大学招生办后台管理</title>
<script type="text/javascript" src="../js/jquery.js"></script>
<script language="javascript">
function change(){
	if($('#password').val() != $('#passwordComfirm').val() ){
		$('#msg').text('两次输入密码不同');
		return;
	}
	
	if($('#oldpassword').val().length<=0||$('#password').val().length<=0||$('#passwordComfirm').val().length<=0){
		$('#msg').text('输入不能为空');
		return;
	}
	
	
	$.post("<s:property value="ctx"/>/admin/employee-admin!changePwd.action","oldpassword="+$('#oldpassword').val()+"&&newpassword="+$('#password').val() ,function callback(text){
             		$('#msg').text(text);
   });
	

}

</script>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
</head>

<body>

旧密码：<input type="password" name="oldpassword" id="oldpassword" /><br/>
新密码：<input type="password" name="password" id="password"/><br/>
新密码确认：<input type="password" name="passwordComfirm" id="passwordComfirm" /><br/>
<input type="submit" value="确认" onclick="change()" />
<div id="msg"></div>


</body>
</html>


